package kr.hkit.powerjava.chapter04;

import java.util.Scanner;

public class programming03 {
	public static void main(String[] args) {
		
		double radius;
		double result;
		Scanner input = new Scanner(System.in);
		System.out.print("구의 반지름을 입력하시오: ");
		radius = input.nextDouble();
		
		result = ((double) 4/3) * (radius*radius*radius);
		
		System.out.println(result);
	}
}
